package com.hxwb.chainmaker.rpc.entity;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;

@Data
@Table(name = "coin")
@Entity
public class Coin {
    @Id
    private String name;

    /**
     *
     */
    private Integer canAutoWithdraw;

    /**
     *
     */
    private Integer canRecharge;

    /**
     *
     */
    private Integer canTransfer;

    /**
     *
     */
    private Integer canWithdraw;

    /**
     *
     */
    private Double cnyRate;

    /**
     *
     */
    private Integer enableRpc;

    /**
     *
     */
    private Integer isPlatformCoin;

    /**
     *
     */
    private Double maxTxFee;

    /**
     * 最大提币数量
     */
    private BigDecimal maxWithdrawAmount;

    /**
     *
     */
    private Double minTxFee;

    /**
     * 最小提币数量
     */
    private BigDecimal minWithdrawAmount;

    /**
     *
     */
    private String nameCn;

    /**
     *
     */
    private Integer sort;

    /**
     *
     */
    private Integer status;

    /**
     *
     */
    private String unit;

    /**
     *
     */
    private Double usdRate;

    /**
     * 提现阈值
     */
    private BigDecimal withdrawThreshold;

    /**
     *
     */
    private Boolean hasLegal;

    /**
     *
     */
    private String coldWalletAddress;

    /**
     * 矿工费
     */
    private BigDecimal minerFee;

    /**
     * 提币精度
     */
    private Integer withdrawScale;

    /**
     * 币种账户类型
     */
    private Integer accountType;



    /**
     *
     */
    private String depositAddress;

    /**
     *
     */
    private String infolink;

    /**
     *
     */
    private String information;

    /**
     * 最小充值数量
     */
    private BigDecimal minRechargeAmount;

    /**
     *
     */
    private BigDecimal coldBalance;

    /**
     *
     */
    private String globalHotAddress;

    /**
     *
     */
    private BigDecimal globalHotBalance;

    /**
     *
     */
    private String withdrawHotAddress;

    /**
     *
     */
    private BigDecimal withdrawHotBalance;

    /**
     * 转账
     */
    private Integer withdrawRedPackage;

    /**
     * 商城支付
     */
    private Integer withdrawShopPay;

    /**
     * 是否是长安链币种
     *
     *  */
    private Integer isChainmaker;
}